package com.jianyun.jyzs.model.imdoel;

import com.jianyun.jyzs.dao.EngLocationDao;

import java.util.HashMap;

/**
 * Created by yangshijun on 2018/5/31.
 */

public interface IP2FragModel {

    /**
     * 获取数据
     *
     * @param dao
     * @param map
     * @param onGetP2DataListener
     */
    void getP2dataToService(EngLocationDao dao, HashMap<String, String> map, OnGetP2DataListener onGetP2DataListener);

    interface OnGetP2DataListener {
        void onSuccess();

        void onFailed(String msg);

    }

}
